package com.ruoyi.system.domain.quality;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author GE-LV5
 * @create 2023/2/25 18:15
 * 问题反馈
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("quality_problem_feedback")
public class QualityProblemFeedback implements Serializable {


    @TableId(value = "id")
    @Excel(name = "序号")
    private Long id;


    @ApiModelProperty(value = "成品质检单号")
    @Excel(name = "成品质检单号")
    private String processNumber;


    @ApiModelProperty(value = "问题分类")
    @Excel(name = "问题分类")
    private String questionClassification;

    @ApiModelProperty(value = "产品名称")
    @Excel(name = "产品名称")
    private String product;

    @ApiModelProperty(value = "问题原因")
    @Excel(name = "问题原因")
    private String problem;

    @ApiModelProperty(value = "反馈人")
    @Excel(name = "反馈人")
    private String feedbackPerson;


    @ApiModelProperty(value = " 反馈日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = " 反馈日期")
    private Date feedbackDate;


    @ApiModelProperty(value = "解决方案")
    @Excel(name = "解决方案")
    private String solution;

    @ApiModelProperty(value = "处理结果")
    @Excel(name = "处理结果")
    private String publicSub;

    @ApiModelProperty(value = "接收人")
    @Excel(name = "接收人")
    private String recipient;

    @ApiModelProperty(value = "处理日期")
    @Excel(name = "处理日期")
    private String disposeDate;


    /** 创建者 */
    @ApiModelProperty(value = "创建者")
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 更新者 */
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String remark;

}
